package com.aosiding.service.impl;

import com.aosiding.pojo.Product;
import com.aosiding.service.ProductService;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * @version 1.0
 * @Author AO SIDING
 * Created on 2022/9/16 23:43
 */
@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public List<Product> selectProductList() {
        return Arrays.asList(
                new Product(1,"华为手机",2,6888D),
                new Product(2,"华为平板",23,8888D),
                new Product(3,"华为笔记本",25,9888D)
        );
    }
}
